From 7e0250ca123917cd9154dfe6990704546b4daa86 Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Fri, 1 Jul 2005 10:15:25 +0000 Subject: [PATCH] use hg changeset info for xen banner Signed-off-by: Chris Wright --- xen/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/Makefile b/xen/Makefile index 4f6f17c4f7..a97db44217 100644 --- a/xen/Makefile +++ b/xen/Makefile @@ -97,7 +97,7 @@ include/xen/compile.h: include/xen/compile.h.in include/xen/banner.h -e 's/@@version@@/$(XEN_VERSION)/g' \ -e 's/@@subversion@@/$(XEN_SUBVERSION)/g' \ -e 's/@@extraversion@@/$(XEN_EXTRAVERSION)/g' \ - -e 's!@@changeset@@!$(shell bk changes -nd':D: :T: :REV: :MD5KEY:' -r+ 2>/dev/null || echo information unavailable)!g' \ + -e 's!@@changeset@@!$(shell (hg tip | awk '/changeset/{CS=$$2};{FS="date:[ ]+"}/date/{D=$$2}; END {print D, CS}') 2>/dev/null || echo information unavailable)!g' \ < include/xen/compile.h.in > $@.new @cat include/xen/banner.h >> $@.new @mv -f $@.new $@ -- 2.30.2